package org.tiling.scheduling;

import java.util.Date;

/**
 * Implementations of <code>ScheduleIterator</code> specify a schedule as a series of <code>java.util.Date</code> objects. <br \>
 * Please see <a href="http://www.ibm.com/developerworks/java/library/j-schedule.html">
 * http://www.ibm.com/developerworks/java/library/j-schedule.html</a> for details
 */
public interface ScheduleIterator {

/**
     * Returns the next time that the related {@link SchedulerTask} should be run.
     * @return the next time of execution
     */
    public Date next();
}